package com.oig.sys.base.entity;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import org.springframework.data.jpa.domain.support.AuditingEntityListener;

import javax.persistence.EntityListeners;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Column;
import javax.persistence.Id;
import java.io.Serializable;


/**
 * @author wuxl
 * 目的地地区码表
 */
@Getter
@Setter
@ToString
@Entity
@Table(name = "tb_inner_area")
@EntityListeners({AuditingEntityListener.class})
public class TbInnerArea implements Serializable {

	/**
	 */
	@Id
	@Column(name = "code", nullable = false)
	private String code;

	/**
	 */
	@Column(name = "name")
	private String name;
}
